package cc.openhome;

/**
 * Created by xuzhihan on 17/3/19.
 */
public class Sub extends Boat implements Swimmer {
    public Sub(String name ){
        super(name);
    }
    @Override
    public void swim(){
        System.out.printf("潜水艇 %s 水底潜行",name);
    }
}
